package com.taikang.t.webservice.endpoint;

import javax.xml.rpc.ServiceException;

import org.springframework.remoting.jaxrpc.ServletEndpointSupport;


import com.taikang.t.webservice.ITalkService;


public class TalkServiceEndpoint extends ServletEndpointSupport implements
ITalkService {

	private ITalkService its;
	
	
	@Override
	protected void onInit() throws ServiceException {
		its = (ITalkService) getWebApplicationContext().getBean("talkServiceImpl");
	}
	




	@Override
	public String talk(String say) {
		// TODO Auto-generated method stub
		return its.talk(say);
	}


}
